<?php
/**
 * Created by PhpStorm.
 * User: zlkmu
 * Date: 2017/10/6
 * Time: 14:37
 * 管理麻将房间的管理器
 */
    require_once ('RoomManager.php');
    class MajangRoomManager extends RoomManager {


        //辅助函数，创建麻将房间
        public function createMaJangRoom($createRequest){
            //先获取房间ID
            $roomID = $this->createRoomID();
            //解析创建房间的请求，创建实际的房间
            $room = new MaJangRoom($createRequest);

            //将房间记录到列表中
            $this->addRoomToList($room);

        }

        //辅助函数，删除麻将房间
        public function removeMaJangRoom($roomRequest){

        }




    }



?>